<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <input value="cute" />
</body>
<script>
    class MyComponent {
        constructor(config) {
            this.state = {
                i: 1
            }
        }

        get prop1() {

        }
        set prop1() {

        }

        setAttribute(attr) {

        }
        getAttribute(attr, value) {

        }

        get children() {}
        set children() {}
    }

    // let MyComponent = 
    // <template >
    //     <MyComponent > < div > < /div> </MyComponent >
    // </template>
    export default {
        mounted() {
            this.$ref['abc'].class = 1;
        },
    }
</script>
MyComponent.class

</html>